body {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
}
header {
    background-color: #ffffff;
}
.top-bar {
    background-color: #000000;
    color: #ffffff;
    text-align:right;
    padding: 10px 70px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.contact-info span {
    margin-left: 35px;
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
      float: left;
      position: relative;
      top: -20px;
}
.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
    padding: 0;
}
.nav-links li {
    display: inline-block;
    position: relative;
}
.nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    display: block;
}
.dropbtn {
    cursor: pointer;
    font-size: large;
}

.dropdown-content {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #d2e3ee;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    transform: translateX(-20px);
    transition: visibility 0s, opacity 0.5s ease, transform 0.5s ease;
}

.dropdown-content a {
    color: rgb(1, 0, 26);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown-content.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.show {
    display: block;
}

.contact-button {
    background-color: #22126d;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: 150px;
    height: 50px;
    border-radius: 8px;
    margin-left: 90px;
    font-weight: bold;
    position: relative;
    top: -15px;
}

.contact-button:hover {
    background-color: #2d1985f1;
}

.container {
    position: relative;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
}
.background-image {
    background-image: url('https://media.istockphoto.com/id/155357818/photo/casket-in-a-hearse.jpg?s=612x612&w=0&k=20&c=DrdCzWwVMlgCjpoxFZxpPKhakQ0dsMmaFTQhNENgU6k=');
    height: 250px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.title {
    font-size: 2.5rem;
    color: #faf6f6;
    margin-top: 20px;
    font-weight: bolder;
    text-transform: capitalize;
}
.book-button {
    background-color: #0a0a0a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    }

.book-button:hover {
    background-color: #ebeaf0;
    color: #000000;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background-color: rgba(54, 54, 54, 0.25); /* Adjust the background color and opacity as needed */
}
.funeral-title {
    margin: 20px;
    display: flex;
    justify-content: space-between;
}
.funeral-title h1 {
    font-size: 3rem;
    margin-left: 200px;
    color: #0a0a0a;
}
.funeral-title p {
    font-size: 18px;
    margin-top: 40px;
    margin-right: 140px;
    width: 600px;
    line-height: 23px;
    color: rgb(43, 24, 1);
}
.fade-in {
    text-align: center;
    font-size: 27px;
    animation: fadeIn 3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.slide-in-left {
    animation: slideInLeft 2s ease-in-out;
}
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hearse-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.vehicle-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.vehicle-card img {
    max-width:100%;
    height: auto;
}

.vehicle-card h2 {
    margin: 10px 0 0;
    font-size: 1.5em;
}

.vehicle-card p {
    margin: 0 0 20px;
    color: #555;
}  

.map-container iframe {
	width:100%;
    	height: 400px;
    	border: dashed;
    	border-radius: 8px;
}
	
.map-container {
    	display: flex;
    	justify-content: center;
    	width: 100%;
        border-radius: 10px;
}

.footer-container {
    background-color: #030303;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: scroll;
    height: 200px;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 270px;
    line-height: 2.2rem;
}

.footer-content p {
    margin: 10px 0;
    font-size: 18px;
}
/* For small devices (phones) */
@media only screen and (max-width: 600px) {
    /* Styles for phones */
  }
  
  /* For medium devices (tablets) */
  @media only screen and (min-width: 601px) and (max-width: 768px) {
    /* Styles for tablets */
  }
  
  /* For larger devices (desktops, TVs) */
  @media only screen and (min-width: 769px) {
    /* Styles for desktops */
  }
  